/* 
 * File:   FractalComputeLinear.h
 * Author: amouro-m
 *
 * Created on 5 juin 2010, 18:54
 */

#ifndef _FRACTALCOMPUTELINEAR_H
#define	_FRACTALCOMPUTELINEAR_H

#include "FractalPrinter.h"
#include "ResultPanel.h"

class LinearCompute {
public:
    LinearCompute(FractalPrinter* fp, ResultPanel* chrono);
    virtual ~LinearCompute();

    void operator() (unsigned int xmin, unsigned int xmax, unsigned int ymin, unsigned int ymax);

    static void compute(FractalPrinter* fp, ResultPanel* chrono);
private:
    FractalPrinter* _fp;
    ResultPanel* _result_panel;

};

#endif	/* _FRACTALCOMPUTELINEAR_H */

